-
-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add electra support for light-client #7063
Conversation
Performance Report✔️ no performance regression detected Full benchmark results
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## unstable #7063 +/- ##
============================================
+ Coverage 49.37% 50.90% +1.53%
============================================
Files 589 595 +6
Lines 39233 39652 +419
Branches 2246 2268 +22
============================================
+ Hits 19370 20184 +814
+ Misses 19822 19468 -354
+ Partials 41 0 -41 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
light client spec tests are currently disabled, this branch should pass those?
/^electra\/light_client\/.*/, |
Good call. Enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Add constant * Use constants * Remove ZERO_NEXT_SYNC_COMMITTEE_BRANCH * Add normalizeMerkleBranch * add getId to CheckpointHeaderRepository * fix: light-client unit tests * chore: lint * Fix normalizeMerkleBranch * Enable LC spec test * fix spec test --------- Co-authored-by: NC <[email protected]>
🎉 This PR is included in v1.23.0 🎉 |
Motivation
Branch created on behalf of the original author @ensi321. Replaces #7038 to avoid a difficult rebase due to the various rebases of the electra branch it was originally based on. Cherry-picked the commits over and will commit here with fixes for the errors that come up.
Verified that all code in commits up to c5bab83 were on current unstable and 0a33b9a starts novel code for from PR#7038
Description
Fix various places to comply with light client electra spec
Will be ready for review after #6986 is merged.